<?php
	defined('_JEXEC') or die('Restricted access');
	//echo "path:".CUTEENGINE_UTILS_COMPONENTS_PATH;
	require_once(CUTEENGINE_BASE_PART_PATH."base_part_class.php");
    
	//
    // t_tab_part
    //
	class t_tab_part extends t_base_part
	{
// properties declaration
		// public
        // E
        const events_position_last = 1;
        // F
        const fields_position_tab	= 0;
		const fields_position_last = 1;         
        // R
       // const required_actions_position_btn_click = 1;
        const required_actions_position_last = 1;
		// S
		const specific_parameters_position_last = 1;
        // method declaration
		// protected
        // G
		protected function  generate_events_actions($a_events_array)
        {

		}
		protected function get_child_action_of_parent_part()
        {

        }
		protected function get_events_array()
        {
            return $this->events;
        }
		protected function get_events_position_last()
        {
            return self::events_position_last;
        }
        protected function get_fields_position_last()
		{
            return self::fields_position_last;
        }

        protected function get_parent_action_name()
		{
			$local_index = ((self::required_actions_position_last - 1) + (self::events_position_on_select));
           // echo "local_index: $local_index<br>";
			$local_return = $this->required_actions[$local_index];
			return $local_return->get_action_name();
        }
        protected function get_required_actions_position_last()
        {
            return self::required_actions_position_last;
        }
        static function get_help_specific_parameter($a_index)
		{
			$local_return = 'NO HELP AVAILABLE';
			/*switch ($a_index) 
            {
                case self::specific_parameters_position_:
					$local_return = '';
				break;                
			}*/
			return $local_return;
		}
        static function get_default_specific_parameter($a_index)
		{
			$local_return = '';
			//echo "a_index: $a_index<br>";
			switch ($a_index) 
            {
                /*case self::specific_parameters_position_:
					$local_return = 'TRUE';
				break;                */
			}
			return $local_return;
		}
        protected function get_specific_parameters_position_last()
        {
            return self::specific_parameters_position_last;
        }		
		// S

        // method declaration
        // public
        public function __construct($a_parent_component,$a_part_id,$a_part_order,$a_part_type,
			$a_part_common_parameters,$a_part_specific_parameters,
			$a_specific_fields_string,$a_required_actions_string,$a_part_enabled) 
		{
           
            parent::__construct($a_parent_component,$a_part_id,$a_part_order,$a_part_type,
				$a_part_common_parameters,$a_part_specific_parameters,
				$a_specific_fields_string,$a_required_actions_string,$a_part_enabled);
            
			
			
		}

        //G
		public function get_field_by_step($a_step)
		{
			$local_return = null;
			return $local_return;
		}
		
    }
?>    